import Vue from 'vue';
import './reset.scss';
import FastClick from 'fastclick';

FastClick.attach(document.body);

import {
    Dialog,
    Popup,
    Loading,
    ScrollView
} from './../components';

import Login from './../views/login';

Vue.prototype.$dialog = Dialog;
Vue.prototype.$alert = Popup.Alert;
Vue.prototype.$confirm = Popup.Confirm;
Vue.prototype.$Login = new Dialog(Login);
Vue.prototype.$loading = Popup.Loading;

Vue.component(`Loading`,Loading);
Vue.component(`ScrollView`,ScrollView);

